//
//  UIViewController+ViewFrom.m
//  jiedabao
//
//  Created by 小龙 on 2017/3/15.
//  Copyright © 2017年 jieshuibao. All rights reserved.
//

#import "UIViewController+ViewFrom.h"

@implementation UIViewController (ViewFrom)

+ (instancetype)viewControllerFromStoryboard
{
    return [[UIStoryboard storyboardWithName:NSStringFromClass([self class]) bundle:nil] instantiateInitialViewController];
}

+ (instancetype)viewControllerFromNib
{
    return [[[self class] alloc] initWithNibName:NSStringFromClass([self class]) bundle:nil];
}



@end
